package com.vancouver.knows.business.bean;

import com.alibaba.fastjson.annotation.JSONField;
import com.pangu.bean.IInfo;

import java.util.ArrayList;
import java.util.List;

/**
 * 首页对象
 * 
 * @author llf
 * 
 */
@SuppressWarnings("serial")
public class HomePageInfo implements IInfo {

	@JSONField(name = "post_id")
	private String id;
	@JSONField(name = "posts_title")
	private String postsTitle;
	@JSONField(name = "post_type")
	private String postType;
	@JSONField(name = "post_badge")
	private String postBadge;
	@JSONField(name = "post_content")
	private String postContent;
	@JSONField(name = "post_attachment_image")
	private String postAttachmentImage;
	@JSONField(name = "redir_type")
	private String redirType;
	@JSONField(name = "redir_url")
	private String redirUrl;
	@JSONField(name = "redir_post_id")
	private String redirPostId;
	@JSONField(name = "redir_business_category")
	private String redirBusinessCategory;
	@JSONField(name = "redir_business_subcategory")
	private String redirBusinessSubcategory;
	@JSONField(name = "business_name")
	private String businessName;
	@JSONField(name = "post_attachment_array")
	private List<String> postAttachmentArray = new ArrayList<>();
	@JSONField(name = "post_date_gmt")
	private String pdg;
	@JSONField(name = "post_title")
	private String postTitle;

	@Override
	public String getId() {
		// TODO Auto-generated method stub
		return id;
	}

	@Override
	public void setId(String id) {
		this.id = id;
		
	}

	public String getPostsTitle() {
		return postsTitle;
	}

	public void setPostsTitle(String postsTitle) {
		this.postsTitle = postsTitle;
	}

	public String getPostType() {
		return postType;
	}

	public void setPostType(String postType) {
		this.postType = postType;
	}

	public String getPostBadge() {
		return postBadge;
	}

	public void setPostBadge(String postBadge) {
		this.postBadge = postBadge;
	}

	public String getPostContent() {
		return postContent;
	}

	public void setPostContent(String postContent) {
		this.postContent = postContent;
	}

	public String getPostAttachmentImage() {
		return postAttachmentImage;
	}

	public void setPostAttachmentImage(String postAttachmentImage) {
		this.postAttachmentImage = postAttachmentImage;
	}

	public String getRedirType() {
		return redirType;
	}

	public void setRedirType(String redirType) {
		this.redirType = redirType;
	}

	public String getRedirUrl() {
		return redirUrl;
	}

	public void setRedirUrl(String redirUrl) {
		this.redirUrl = redirUrl;
	}

	public String getRedirPostId() {
		return redirPostId;
	}

	public void setRedirPostId(String redirPostId) {
		this.redirPostId = redirPostId;
	}

	public String getRedirBusinessCategory() {
		return redirBusinessCategory;
	}

	public void setRedirBusinessCategory(String redirBusinessCategory) {
		this.redirBusinessCategory = redirBusinessCategory;
	}

	public String getRedirBusinessSubcategory() {
		return redirBusinessSubcategory;
	}

	public void setRedirBusinessSubcategory(String redirBusinessSubcategory) {
		this.redirBusinessSubcategory = redirBusinessSubcategory;
	}

	public String getBusinessName() {
		return businessName;
	}

	public void setBusinessName(String businessName) {
		this.businessName = businessName;
	}

	public List<String> getPostAttachmentArray() {
		return postAttachmentArray;
	}

	public void setPostAttachmentArray(List<String> postAttachmentArray) {
		this.postAttachmentArray = postAttachmentArray;
	}

	public String getPdg() {
		return pdg;
	}

	public void setPdg(String pdg) {
		this.pdg = pdg;
	}

	public String getPostTitle() {
		return postTitle;
	}

	public void setPostTitle(String postTitle) {
		this.postTitle = postTitle;
	}
}
